package com.gome.axwl.aoc.dao;

import com.gome.axwl.aoc.entity.po.ApprovalRecordPo;

import java.util.List;

public interface ApprovalRecordDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ApprovalRecordPo record);

    int insertSelective(ApprovalRecordPo record);

    ApprovalRecordPo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApprovalRecordPo record);

    int updateByPrimaryKey(ApprovalRecordPo record);


    /**
     * 查询历史审批记录
     * @param approvalRecordPo
     * @return
     */
    List<ApprovalRecordPo> queryApprovalHistory(ApprovalRecordPo approvalRecordPo);
}